package com.example.crondemo.result;

import lombok.Getter;

/**
 * @author yanbl
 * @version V1.8
 * @Description: 枚举
 * @Date 2021/6/30 15:22
 */
@Getter
public enum ResultCodeEnum {

    SUCCESS(200,"成功"),
    FAIL(201,"失败"),
    TASKEXCEPTION(202,"定时任务异常"),
    STOCKSNULL(203,"五分钟数据为空"),
    THANONEMOUTH(2104,"start_time与end_time时间跨度不能超过最大范围 30天");

    private Integer code;
    private String message;

    private ResultCodeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }


}
